package com.homedo.async.mysql.support.convertor.forfieldval;

import io.vertx.sqlclient.data.Numeric;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class NumericResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final NumericResultFieldValConvertor INSTANCE = new NumericResultFieldValConvertor();

    public static NumericResultFieldValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public Numeric convertor(Object columnVal) {
        return (Numeric) columnVal;
    }

}
